package com.lzs.bootsafety;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;


@SpringBootApplication(scanBasePackages = "com.lzs.bootsafety.**")
@MapperScan(basePackages = {"com.lzs.bootsafety.business.*.mapper","com.lzs.bootsafety.common.config.*"})
@ServletComponentScan
@EnableScheduling
public class BootSafetyApplication {
    public static void main(String[] args) {
        SpringApplication.run(BootSafetyApplication.class, args);
    }

}
